package com.yang.crawler.web;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping(value = "/index")
public class IndexController {
    @GetMapping
    public String index() {
        return "crawlColumn";
    }

    @GetMapping(value = "/crawlColumn")
    public String crawlColumn() {
        return "crawlColumn";
    }

    @GetMapping(value = "/crawlArticle")
    public String crawlArticle() {
        return "crawlArticle";
    }

    @GetMapping(value = "/threadPoolMonitor")
    public String threadPool() {
        return "threadPoolMonitor";
    }

    @GetMapping(value = "/configuration")
    public String configuration() {
        return "configuration";
    }
}

